import React from "react";
import "./roll.css"

function Roll(props: any) {
    const {list} =props
    console.log(list)
    return (
        <div className="boxx1">
            {list&&list.map((item: any) => {
                return (
                    <div className="boxx" key={item.id}>
                        <img src={item.img} alt="" />
                        <p>{item.title}</p>
                    </div>
                )
            })}
        </div>
    )
}

export default Roll